package pl.edu.pk.cc.common.dto;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class CCClientDTO implements CCResourceDTO{
	private Long id;
	private String name;
	private String surname;
	private Long phoneNumber;
	private Date birthDate;
	private String address;
	private Set<CCCallHistoryDTO> calls = new HashSet<CCCallHistoryDTO>();
	private Set<CCAgreementDTO> agree = new HashSet<CCAgreementDTO>();
	private Set<CCSaleDTO> sales = new HashSet<CCSaleDTO>();
	
	public CCClientDTO() {}
	
	
	
	public CCClientDTO(String name, String surname, Long phoneNumber,
			Date birthDate, String address) {
		this.name = name;
		this.surname = surname;
		this.phoneNumber = phoneNumber;
		this.birthDate = birthDate;
		this.address = address;
	}



	public Long getId() {
		return id;
	}
	@SuppressWarnings("unused")
	private void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}
	public Long getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(Long phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public Date getBirthDate() {
		return birthDate;
	}
	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Set<CCCallHistoryDTO> getCalls() {
		return calls;
	}
	public void setCalls(Set<CCCallHistoryDTO> calls) {
		this.calls = calls;
	}
	public Set<CCAgreementDTO> getAgree() {
		return agree;
	}
	public void setAgree(Set<CCAgreementDTO> agree) {
		this.agree = agree;
	}
	public Set<CCSaleDTO> getSales() {
		return sales;
	}
	public void setSales(Set<CCSaleDTO> sales) {
		this.sales = sales;
	}
}
